-- GENERATED SPELL FOR [Bloodmoon Servant] --


function spell0_29082(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(32714,pUnit)
pUnit:RegisterEvent('Sorts_29082', 8316, 1)
end

function Sorts_29082(pUnit, Event)
local choix_sorts_29082 = math.random(0, 0)
if choix_sorts_29082 == 0 then
pUnit:RegisterEvent('spell0_29082', 1, 1)
end
end

function mob29082_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_29082', math.random(1500, 3000), 1)
end

function mob29082_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29082_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob29082_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(29082, 1, 'mob29082_Action')
RegisterUnitEvent(29082, 2, 'mob29082_Leave')
RegisterUnitEvent(29082, 3, 'mob29082_Kill')
RegisterUnitEvent(29082, 4, 'mob29082_Die')
